var ioc = {
    conf : {
        type : "org.nutz.ioc.impl.PropertiesProxy",
        fields : {
            paths : ["custom/"]
        }
    },
    dataSource: {
        factory : "$conf#make",
        args : ["com.alibaba.druid.pool.DruidDataSource", "db."],
        type: "com.alibaba.druid.pool.DruidDataSource",
        events: {
            create : "init",
            depose: "close"
        }
    },
    dao: {
        type: "org.nutz.dao.impl.NutDao",
        args: [{refer: "dataSource"}],
        fields: {
            interceptors : [{refer:"cacheExecutor"}, "log"]
        }
    },
    cacheExecutor: {
        type: "org.nutz.plugins.cache.dao.DaoCacheInterceptor",
        fields: {
            cacheProvider: {refer: "cacheProvider"},
            cachedTableNames: [ // 任意N个表
                "help",
                "notice",
                "help_category",
                "explain"
            ],
            enableWhenTrans : false, // 事务作用域内是否启用,默认false
            cache4Null : true // 是否缓存空值,默认true
        }
    },
    cacheProvider: {
        type: "org.nutz.plugins.cache.dao.impl.provider.MemoryDaoCacheProvider",
        fields: {
            cacheSize: 10000 // 缓存的对象数
        },
        events: {
            create: "init"
        }
    }
};